verify
Verifies an SD-JWT serialized using compact serialization.
Typically, this is useful to Holder that wants to verify an issued SD-JWT, or to Verifier that wants to verify a presented SD-JWT in case the KB-JWT must not be present.
Return
the verified SD-JWT, if valid. Otherwise, method could raise a SdJwtVerificationException The verified SD-JWT will contain a JWT as both string and decoded payload
Parameters
the SD-JWT to be verified
Verifies an SD-JWT serialized using JWS JSON serialization (either general or flattened format) as defined by RFC7515 and extended by SD-JWT specification.
Typically, this is useful to Holder that wants to verify an issued SD-JWT, or to Verifier that wants to verify a presented SD-JWT in case the KB-JWT must not be present.
Return
the verified SD-JWT, if valid. Otherwise, method could raise a SdJwtVerificationException The verified SD-JWT will contain a JWT as both string and decoded payload
Parameters
the SD-JWT to be verified. A JSON Object that is expected to be in general or flatten form as defined in RFC7515 and extended by SD-JWT specification.
Verifies a SD-JWT+KB serialized using compact serialization. Typically, this is useful to Verifier that want to verify presentation SD-JWT communicated by Holders.
Return
the verified SD-JWT and the KeyBinding JWT, if valid. Otherwise, method could raise a SdJwtVerificationException The verified SD-JWT will the JWT and KeyBinding JWT are representing in both string and decoded payload. Expected errors are reported via a SdJwtVerificationException
Parameters
the SD-JWT to be verified
verifier's challenge, expected to be found in KB-JWT (signed by wallet)
Verifies a SD-JWT+KB in JWS JSON serialization. Typically, this is useful to Verifier that want to verify presentation SD-JWT communicated by Holders
Return
the verified SD-JWT and KeyBinding JWT, if valid. Otherwise, method could raise a SdJwtVerificationException The verified SD-JWT will the JWT and KeyBinding JWT are representing in both string and decoded payload. Expected errors are reported via a SdJwtVerificationException
Parameters
the SD-JWT to be verified in JWS JSON
verifier's challenge, expected to be found in KB-JWT (signed by wallet)